home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / falcon / programm.ing / nt_dsp1.lzh / NT_DSP1.MSA / FFT / FFTR2DT.ASM < prev    next >
Assembly Source File  |  1990-01-17  |  1KB  |  50 lines

  1. ;
  2. ; This program originally available on the Motorola DSP bulletin board.
  3. ; It is provided under a DISCLAMER OF WARRANTY available from
  4. ; Motorola DSP Operation, 6501 Wm. Cannon Drive W., Austin, Tx., 78735.
  5. ; Radix 2, In-Place, Decimation-In-Time FFT
  6. ; (using DSP56001 Y Data ROM sine-cosine tables).  (test program)
  7. ; Last Update 08 Aug 86   Version 1.0
  8. ;
  9. fftr2dt ident   1,0
  10.         page    132,66,2,2
  11.         opt     nomd,loc,cre,mu
  12.  
  13.         include 'dsplib:sinewave'
  14.         include 'dsplib:fftr2d'
  15.  
  16. ;
  17. ; Main program to call the FFTR2D macro
  18. ;       Argument list
  19. ;
  20. ;       16 point complex, in-place FFT
  21. ;       Data starts at address 0
  22. ;       Coefficient table starts at address $100
  23. ;
  24. ; This example shows how to perform a 16 point FFT
  25. ; using a 256 point full cycle sinewave table.  The
  26. ; SINEWAVE macro generates identical coefficients to
  27. ; those stored at address $100 in the DSP56001 Y Data ROM.
  28. ;                          
  29. ; Latest revision - 8-Aug-86
  30. ;
  31. reset   equ     0
  32. start   equ     $100
  33. points  equ     16
  34. data    equ     0
  35. coef    equ     $100
  36. table   equ     256
  37.  
  38.         org     y:coef
  39.         sinewave        table
  40.  
  41.         opt     mex
  42.         org     p:reset
  43.         jmp     start
  44.  
  45.         org     p:start
  46.         fftr2d points,data,coef,table
  47.         end
  48.